<div class="row">
    <div class="twelve columns">
        <div class="box_c">
            <div class="box_c_heading cf box_actions">
                <p>{{Clients}}</p>
            </div>
            <div class="box_c_content">
                <table class="display dt_act_clients mobile_dt3" id="data_table_clients">
                    <thead>
                        <tr>
                            <th class="chb_col"><input type="checkbox" class="chSel_all" /></th>
                            <th class="essential">id</th>
                            <th>{{Client}}</th>
                            <th class="essential">{{Actions}}</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php if(!empty($clients)){ ?>
                            <?php foreach($clients as $key => $value){ ?>
                                <tr class="clients" id="client-<?php echo $key; ?>">
                                    <td class="chb_col"><input type="checkbox" name="row_sel" id="sel_<?php echo $key; ?>" /></td>
                                    <td><?php echo (int)$key; ?></td>
                                    <td><?php echo $value['name'] . ' ' . $value['firstname']; ?></td>
                                    <td class="content_actions">
                                        <a href="index.php?page=editclient&id=<?php echo (int)$key; ?>" class="sepV_a" title="Modifier"><img src="img/ico/pencil_gray.png" alt="" /></a>
                                        <a href="javascript:void(0)" title="Supprimer" onClick="$('#sel_<?php echo $key; ?>').attr('checked',true); $('.delete_all_rows').trigger('click');"><img src="img/ico/trashcan_gray.png" alt="" /></a>
                                    </td>
                                </tr>
                            <?php } ?>
                        <?php } ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
